﻿using MRSite.AutoMapper.Attributes;
using MRSite.Entity;
using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MRSite.EntityDto
{
    [AutoMapBoth(typeof(Transform))]
    [ProtoContract]
    public class TransformDto
    {
        [ProtoMember(1)] 
        public int id { get; set; }

        [ProtoMember(2)]
        public int zzuserid { get; set; }

        [ProtoMember(3)]
        public string zzusername { get; set; }

        [ProtoMember(4)]
        public int mbuserid { get; set; }

        [ProtoMember(5)]
        public string mbusername { get; set; }

        [ProtoMember(6)]
        public Decimal fee { get; set; }

        [ProtoMember(7)]
        public Decimal price { get; set; }

        [ProtoMember(8)]
        public Decimal num { get; set; }

        [ProtoMember(9)]
        public String typefee { get; set; }

        [ProtoMember(10)]
        public String remark { get; set; }

        [ProtoMember(11)]
        public DateTime addtime { get; set; }

        [ProtoMember(12)]
        public CustomerDto ZzCustomerItem { get; set; }
    }
}
